﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DataAccess;
namespace Business
{
    public class XuLyDatVe
    {
        DatVe _datve = new DatVe();

        public DatVe datve
        {
            get { return _datve; }
            set { _datve = value; }
        }
        ChiTietDatVe _chitiet = new ChiTietDatVe();

        public ChiTietDatVe chitiet
        {
            get { return _chitiet; }
            set { _chitiet = value; }
        }
        public int ThucThi()
        {
            TruyXuatDatVe datve = new TruyXuatDatVe();
            datve.datve = this.datve;
            datve.chitiet = this.chitiet;
            try
            {
                return datve.ThucThi();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
